package com.bupt.ilink.entity.folder;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.UUID;

@Data

@TableName("tb_folder")
public class Folder {
    public static final String DEFAULT_FOLDER_DESCRIPTION = "Manage your own projects. Download and upload folders.";
    public static final String DEFAULT_FOLDER_NAME = "我的项目";
    @TableId
    private String folderId = UUID.randomUUID().toString();
    private String userId;
    private String name = DEFAULT_FOLDER_NAME;
    private String description = DEFAULT_FOLDER_DESCRIPTION;
    private String parentId;
}
